package com.cloud.base.clone;

import lombok.Data;

@Data
public class AClone implements Cloneable {
    private BClone bClone;

    //深克隆
    @Override
    protected Object clone() throws CloneNotSupportedException {
        AClone clone = (AClone) super.clone();
        clone.bClone = (BClone) bClone.clone();
        return clone;
    }
}
